package com.example.ch04;

public class Person {
    private String name;
    private String sex;
    private String phone;
    private String workplace;
    private String work;

    public Person(String name, String sex, String phone, String workplace, String work) {
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.workplace = workplace;
        this.work = work;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWorkplace() {
        return workplace;
    }

    public void setWorkplace(String workplace) {
        this.workplace = workplace;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }
}
